import request from '@/utils/request'

// 获取路由
export const getRouters = (data) => {
  console.log(data,"<<<=== data 调用getRouters传过来的数据");
  // const sysid=data[0].id
  return request({
    url: `/system/menu/getRouters/${data}`,
    // url: '/system/menu/getRouters/11',
    method: 'get'
  })
}